.custom-chart-container{
    width:100%;
    height:100%;
}

.chart-area{
    width:100%;
    height:100%;
}

.chart-area.chart-with-legend{
    height: calc(100% - 35px) !important;
}

.legend-area{
    margin-top:20px;
    margin-left:80px;
}

.legend-area li{
    display:inline-block;
    list-style:none;
    margin-right:10px;
    position:relative;
    height: 15px;
    float: left;
    margin-bottom: 5px;
}

.legend-area li .single-legend{
    display:inline-block;
    width:15px;
    height:15px
}

.legend-area li.legend-active .custom-chart-mark{
    display: inline-block;
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    -webkit-transform: rotate(41deg);
    -moz-transform: rotate(41deg);
    transform: rotate(41deg);
}

.legend-area li.legend-inactive .single-legend{
    background-color: #dee7e7 !important;
}

.legend-area ul {
    padding: 0px;
    margin: 0px;
    display: inline-block;
    width: calc(100% - 25px);
    float: left;
    background-color: white;
}

.legend-area .legend-fold{
    max-height: 15px;
    overflow: hidden;
}

.legend-area .legend-unfold{
    max-height: 60px;
    /*overflow-y: auto;*/
    overflow-x: hidden;
}

.legend-area .legend-label{
    display: inline-block;
    position: relative;
    top: -3px;
    margin-left: 5px;
    font-size: 12px;
    color: #666666;
}

.collapse-sign{
    display:inline-block;
    float: right;
    width:13px;
    height:13px;
    border: 1px solid #979da3;
    color: #979da3;
    cursor: pointer;
}
.collapse-sign.fold:before{
    content: "+";
    top: -3px;
    position: relative;
    left: 1.5px;
}
.collapse-sign.unfold:before{
    content: "-";
    top: -3px;
    position: relative;
    left: 2.5px;
}